﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ChoViet.CMS.ViewModels.BoxHotAdsViewModel>" %>
<%@ Import Namespace="ChoViet.Lib.Helpers" %>
<div id="hotnews_1">
    <h3>
        Tin Rao Tin Cậy</h3>
    <marquee height="207" behavior="scroll" align="center" direction="up" scrollamount="3" scrolldelay="150" onmouseover="this.stop()" onmouseout="this.start()">
    <ul id="newshot">
        <%foreach (var item in Model.Ads)
          {%>
              <li class="hotnew"><a href="<%=Html.AdDetailRoute(item)%>"><%=Html.Encode(item.Title.Trim().Length >=30 ? item.Title.Trim().Substring(0,30) : item.Title.Trim()) %><font color="red">..<img src="/Images/hot.gif" alt="tin rao Hot" /></font></a></li>
          <%}%>
    </ul>
    </marquee>
</div>
